#include "StdAfx.h"
#include "xb_SecurityVariable.h"
#include "IOrderService.h"
#include "xb_Account.h"
#include "Cx_BaseFuturePolicy.h"
#include "iSTMaster.h"


Cx_BaseFuturePolicy::Cx_BaseFuturePolicy( const policyArgu& argument ):Cx_BasePolicy(argument)
{
}

Cx_BaseFuturePolicy::~Cx_BaseFuturePolicy(void)
{
}

bool Cx_BaseFuturePolicy::GetFuturePolicyParam()
{
	return theApp.SecurityVariable().GetFutureParam(m_policyArgu.m_strAccount, &m_futureparam);
}

BOOL Cx_BaseFuturePolicy::GetTradeItem(trade_daying_itemex& item)
{
	return theApp.SecurityVariable().GetDpTradeItem(m_futureparam.single_code, m_futureparam.nsingleexch, m_futureparam.nsingletype, item);
}
